home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 11 / AMUG BBS in a Box Volume XI (April 1994) (MacWizards).iso / Files / Hyper / Rinaldi / HC 1.2 & 2.0 / FullSFPack 1.7.sit / FullSFPack 1.7 (US) / FullSFPack 1.7 (US) / card_2903.txt < prev    next >
Encoding:
Text File  |  1992-12-14  |  8.3 KB  |  254 lines

  1. -- card: 2903 from stack: in.7 (US)
  2. -- bmap block id: 3523
  3. -- flags: 0000
  4. -- background id: 2768
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on mouseUp
  8.   if the target contains "card button"
  9.   then
  10.   put FullSFPack(short name of the target) into cd fld 2
  11.   if cd fld 2 ‚↠empty
  12.   then show cd fld 2
  13. end if
  14. end mouseUp
  15.  
  16.  
  17. -- part 1 (field)
  18. -- low flags: 01
  19. -- high flags: 0007
  20. -- rect: left=69 top=68 right=252 bottom=434
  21. -- title width / last selected line: 0
  22. -- icon id / first selected line: 0 / 0
  23. -- text alignment: 0
  24. -- font id: 3
  25. -- text size: 9
  26. -- style flags: 0
  27. -- line height: 12
  28. -- part name: Text
  29.  
  30.  
  31. -- part 4 (button)
  32. -- low flags: 00
  33. -- high flags: A004
  34. -- rect: left=37 top=287 right=306 bottom=110
  35. -- title width / last selected line: 0
  36. -- icon id / first selected line: 0 / 0
  37. -- text alignment: 1
  38. -- font id: 0
  39. -- text size: 12
  40. -- style flags: 0
  41. -- line height: 16
  42. -- part name: Get
  43.  
  44.  
  45. -- part 5 (button)
  46. -- low flags: 00
  47. -- high flags: A004
  48. -- rect: left=112 top=287 right=306 bottom=185
  49. -- title width / last selected line: 0
  50. -- icon id / first selected line: 0 / 0
  51. -- text alignment: 1
  52. -- font id: 0
  53. -- text size: 12
  54. -- style flags: 0
  55. -- line height: 16
  56. -- part name: Put
  57.  
  58.  
  59. -- part 6 (button)
  60. -- low flags: 00
  61. -- high flags: A004
  62. -- rect: left=187 top=287 right=306 bottom=260
  63. -- title width / last selected line: 0
  64. -- icon id / first selected line: 0 / 0
  65. -- text alignment: 1
  66. -- font id: 0
  67. -- text size: 12
  68. -- style flags: 0
  69. -- line height: 16
  70. -- part name: Folder
  71.  
  72.  
  73. -- part 7 (button)
  74. -- low flags: 00
  75. -- high flags: A004
  76. -- rect: left=262 top=287 right=306 bottom=335
  77. -- title width / last selected line: 0
  78. -- icon id / first selected line: 0 / 0
  79. -- text alignment: 1
  80. -- font id: 0
  81. -- text size: 12
  82. -- style flags: 0
  83. -- line height: 16
  84. -- part name: Volume
  85.  
  86.  
  87. -- part 8 (button)
  88. -- low flags: 00
  89. -- high flags: A004
  90. -- rect: left=337 top=287 right=306 bottom=410
  91. -- title width / last selected line: 0
  92. -- icon id / first selected line: 0 / 0
  93. -- text alignment: 1
  94. -- font id: 0
  95. -- text size: 12
  96. -- style flags: 0
  97. -- line height: 16
  98. -- part name: Multiple
  99.  
  100.  
  101. -- part 9 (field)
  102. -- low flags: 81
  103. -- high flags: 2004
  104. -- rect: left=79 top=111 right=213 bottom=432
  105. -- title width / last selected line: 0
  106. -- icon id / first selected line: 0 / 0
  107. -- text alignment: 0
  108. -- font id: 3
  109. -- text size: 9
  110. -- style flags: 0
  111. -- line height: 12
  112. -- part name: 
  113. ----- HyperTalk script -----
  114. on mouseUp
  115.   hide me
  116. end mouseUp
  117.  
  118.  
  119. -- part 10 (button)
  120. -- low flags: 00
  121. -- high flags: A004
  122. -- rect: left=412 top=287 right=306 bottom=485
  123. -- title width / last selected line: 0
  124. -- icon id / first selected line: 0 / 0
  125. -- text alignment: 1
  126. -- font id: 0
  127. -- text size: 12
  128. -- style flags: 0
  129. -- line height: 16
  130. -- part name: QuickTime
  131.  
  132.  
  133. -- part contents for card part 1
  134. ----- text -----
  135.  
  136.                                            FullSFPack 1.7
  137.                                           formerly FullFile
  138.  
  139.                                         by Fr√©d√©ric RINALDI
  140.  
  141.  
  142. DESCRIPTION
  143. ------------
  144.   FullSFPack allows to use standard dialogs for seleting a file, folder or volume. It allows even to deal with Alias files themselves rather than with pointed entries, and adds a multiple files selection dialog.
  145.  
  146.  
  147. SYNTAX
  148. -------
  149.    FullSFPack(<G[et]|P[ut]|V[olume]|F[older]|M[ultiple]|Q[uickTime]>
  150.                    [,<type 1[‚Ķ,type 4]>][,<default dir>][,<new name>]
  151.                    [,<prompt>][,"DontResolveAlias"])
  152.  
  153.  
  154. PARAMETRES
  155. ------------
  156.    <G[et]|P[ut]|V[olume]|F[older]|M[ultiple]|Q[uickTime]> is the action param and defines the desired dialog.
  157.  
  158.    <type 1[‚Ķ,type 4]> is a 1 to 4 items list containing types of files to display in the dialog. Default presents all files.
  159.  
  160.    <default dir> is a full pathname string allowing to set the current directory when the dialog pops on screen.
  161.  
  162.    <new name> is a string only needed with "P[ut]", and gives the default name for the new file in the dialog's edit field.
  163.  
  164.    <prompt> is the message string appearing in the dialog.
  165.  
  166.    "dontResolveAlias" allows to get the alias file pathName rather than those from the pointed file. Applies only to G[et] and M[ultiple].
  167.  
  168.    Using "!", "?" or "=" as first parameter will return an online help (resp. 
  169.  
  170.  
  171. USING
  172. ------
  173.    FullSFPack requires System 7.0.
  174.  
  175.    The XFCN returns the full patname of the selected file, folder or volume.
  176.  
  177.    With "M[ultiple]", it returns a return delimited list of all collected files.
  178.  
  179.    With "P[ut]", you can know if the user wants to replace an existing file by testing FullSFPackReplacing global variable wich may contain "true" or
  180.  "false".
  181.  
  182.    Q[uickTime] option require QuickTime to be installed, and allows viewing and on-the-fly creation of PICT and MooV file previews.
  183.  
  184.    FullSFPack doesn't need any associated DLOG/DITL resources, and is able to create them on the fly when needed.
  185.    MeanWhile, when called from a stack on a locked volume, the XFCN isn't able to add those new resources to the current stack. That's why resources have been provided in this stack, and the XFCN detects their availability.
  186.    Finally, on locked volume, if you forgot to copy these needed DLOG/DITL resources, FullSFPack still tries to work by using standard resources from the System (except for M[ultiple] and F[older] which always need custom dialog). Only difference : there will be no prompt displayed.
  187.  
  188.    Depending on requested action, you will need to add the following resources (don't rename them !) :
  189.  
  190. Action                DLOG                     DITL                   LDEF
  191. ----------+---------------+----------------+-------------
  192. G[et]               FSFPGetVol         FSFPGetVolDir        <aucune>
  193. P[ut]              <aucune>             <aucune>                 <aucune>
  194. V[olume]         FSFPGetVol         FSFPGetVolDir        <aucune>
  195. F[older]          FSFPDir              FSFPGetVolDir         <aucune>
  196. M[ultiple]       FSFPMultiGet      FSFPMultiGet           FSFPMultiGet
  197. Q[uickTime]    FSFPPreview      FSFPPreview          <aucune>
  198.  
  199.  
  200. ERRORS
  201. -------
  202.    If an error occurs, FullSFPack will return :
  203.      "Error : FullSFPack needs System 7.0"
  204.      "Error : Missing or empty parameter"
  205.      "Error : Bad action parameter"
  206.      "Error : Missing DLOG/DITL resources, unable to create them"
  207.      "Error : QuickTime not installed"
  208.      "Error : Out of memory"
  209.  
  210.  
  211. HISTORY
  212. -------
  213. 1.7 :                                                                                          12/14/92
  214. ‚Ä¢ Fixed FSFPMultiGet DITL pour "Selected files:" message localization
  215.  
  216. 1.6 :                                                                                          11/02/92
  217. ‚Ä¢ Fixed Multiple get for files over 31 chars (XCMD+LDEF)
  218.  
  219. 1.5 :                                                                                          11/02/92
  220. ‚Ä¢ Fixed Multiple get for file names of 31 chars (XCMD+LDEF)
  221.  
  222. 1.4 :                                                                                          05/15/92
  223. ‚Ä¢ Added QuickTime preview dialog option
  224. ‚Ä¢ Enhanced inside file filtering
  225. ‚Ä¢ Fixed MultiFileGet bug when files have the same name
  226. ‚Ä¢ Fixed number of collected files display in MultiFileGet
  227. ‚Ä¢ Now PutFile also has SuperBoomerang if available
  228. ‚Ä¢ Fixed server volume aliases bug
  229. ‚Ä¢ Added support for existing resources to get locked volume compatibility
  230.  
  231. 1.3 :                                                                                          12/25/91
  232. ‚Ä¢ Fixed alias file bug under System 7.0.1
  233.  
  234. 1.2                                                                                            09/02/91
  235. ‚Ä¢ Fixed Select directory that didn't return answer
  236.  
  237. 1.1                                                                                            08/25/91
  238. ‚Ä¢ Fixed bug preventing alias files to appear in italic with "M"
  239. ‚Ä¢ Added Notification Mgr call
  240. ‚Ä¢ Fixed Cancel bug with "F"
  241.  
  242. 1.0                                                                                           08/12/91
  243.  
  244. ---------------------------------------------------------------------
  245. This (these) external(s) is (are) FreeWare,allowing unlimited use in any non-commercial stack. You just need in this case to mention the author's name and copyright in your stack.
  246. Any commercial use must be licensed and aknowledged by the author.
  247.  
  248.                                 ¬© Frederic RINALDI 1991,1992
  249.  
  250. AppleLink: RINALDI1        CalvaCom : FR10        Compuserve : 71170,2111
  251.  
  252. -- part contents for card part 9
  253. ----- text -----
  254. HD600INT:Desktop Folder:Temp Files:Picts:1234567890123456789012345678901